"""recorder URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import url
from django.contrib import admin

from posts import views
from posts.views import post_home,post_delete,post_mine,post_list,post_update,post_create,post_details,jinge,get_queryset

urlpatterns = [
    # url(r'^admin/', admin.site.urls),

    url(r'^result/$',get_queryset,name='result'),
    url(r'^result1/$',views.Search1.as_view(),name='result1'),
    #url(r'^$', post_home,name='home'),
    #url(r'^create/$', post_create,name='create'),
    #url(r'^details/(?P<id>\d+)/$', post_details ,name='details'),
    url(r'^$', post_mine,name='mine'),
    url(r'^jinge/$', jinge,{'id':'0'},name='jinge'),
    url(r'^jinge1/$', jinge,{'id':'1'},name='jinge1'),
    url(r'^jinge2/$', jinge,{'id':'2'},name='jinge2'),
    url(r'^jinge3/$', jinge,{'id':'3'},name='jinge3'),
    url(r'^jinge4/$', jinge,{'id':'4'},name='jinge4'),
    url(r'^jinge5/$', jinge,{'id':'5'},name='jinge5'),
    url(r'^jinge6/$', jinge,{'id':'6'},name='jinge6'),
    url(r'^jinge7/$', jinge,{'id':'7'},name='jinge7'),
    #url(r'^list/$', post_list,name='list'),
    url(r'^(?P<id>\d+)/edit/$', post_update, name='update'),
    url(r'^(?P<id>\d+)/delete$', post_delete,name='delete'),

]
